import request from '@/utils/request'

export function getComplaint(query) {
    return request({
      url: '/complaint/selectall',
      method: 'get',
      params: query
    })
  }
  export function getComplaintone(id) {
    return request({
      url: '/complaint/selectone',
      method: 'get',
      params: id
    })
}
export function getComplaintfile(id) {
  return request({
    url: '/complaintFile/selectfile?id='+id,
    method: 'get',
  })
}
export function getFrontUserList() {
  return request({
    url: '/frontUser/getFrontUserList',
    method: 'get',
  })
}